package com.cnap.multiclouldmgmt.model.knowledge;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDateTime;

/**
 * <类文件描述>
 *
 * @author xc
 **/
public class AlarmVO {
    private String id;
    private String ruleName;
    private String alarmLevel;
    private String resourceName;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    /**
     * get
     *
     * @return Id
     */
    public String getId() {
        return id;
    }

    /**
     * set
     *
     * @param id id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * get
     *
     * @return RuleName
     */
    public String getRuleName() {
        return ruleName;
    }

    /**
     * set
     *
     * @param ruleName ruleName
     */
    public void setRuleName(String ruleName) {
        this.ruleName = ruleName;
    }

    /**
     * get
     *
     * @return AlarmLevel
     */
    public String getAlarmLevel() {
        return alarmLevel;
    }

    /**
     * set
     *
     * @param alarmLevel alarmLevel
     */
    public void setAlarmLevel(String alarmLevel) {
        this.alarmLevel = alarmLevel;
    }

    /**
     * get
     *
     * @return ResourceName
     */
    public String getResourceName() {
        return resourceName;
    }

    /**
     * set
     *
     * @param resourceName resourceName
     */
    public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }

    /**
     * get
     *
     * @return CreateTime
     */
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    /**
     * set
     *
     * @param createTime createTime
     */
    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
}
